<h1>Editing library_department</h1>

<% form_for(@library_department) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.label :commercial_adress %><br />
    <%= f.text_field :commercial_adress %>
  </p>
  <p>
    <%= f.label :postal_adress %><br />
    <%= f.text_field :postal_adress %>
  </p>
  <p>
    <%= f.label :phone %><br />
    <%= f.text_field :phone %>
  </p>
  <p>
    <%= f.label :url %><br />
    <%= f.text_field :url %>
  </p>
  <p>
    <%= f.label :shipping_cost %><br />
    <%= f.check_box :shipping_cost %>
  </p>
  <p>
    <%= f.label :discount %><br />
    <%= f.text_field :discount %>
  </p>
  <p>
    <%= f.label :cboxp %><br />
    <%= f.text_field :cboxp %>
  </p>
  <p>
    <%= f.label :cboxt %><br />
    <%= f.text_field :cboxt %>
  </p>
  <p>
    <%= f.label :cboxc %><br />
    <%= f.text_field :cboxc %>
  </p>
  <p>
    <%= f.label :library %><br />
    <%= f.text_field :library %>
  </p>
  <p>
    <%= f.label :city %><br />
    <%= f.text_field :city %>
  </p>
  <p>
    <%= f.label :currency %><br />
    <%= f.text_field :currency %>
  </p>
  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Show', @library_department %> |
<%= link_to 'Back', library_departments_path %>